﻿using famails.App_Code.source.dao;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;

namespace famails.App_Code.source.bus
{
    public class CM_CustomerCareAuto_Content_BUS
    {
        CM_CustomerCareAuto_ContentDAO dao = new CM_CustomerCareAuto_ContentDAO();
        internal DataTable GetByCustomerCareAutoId(int id, int UserID)
        {
           return dao.GetByCustomerCareAutoId(id, UserID);
        }

        internal void Delete(int contentId)
        {
            throw new NotImplementedException();
        }

        internal int Edit(global::famails.dto.CM_CustomerCareAuto_ContentDTO cseDto)
        {
            return dao.Edit(cseDto);
        }

        internal int Add(global::famails.dto.CM_CustomerCareAuto_ContentDTO cseDto)
        {
            return dao.Add(cseDto);
        }
    }
}